package com.mallkit.core.view.baseViews
{
	/**
	 * Defines the methods that should exist in all
	 * Mallkit main views.
	 */
	public interface IMainView
	{
		/**
		 * Resets the view to it's original state
		 */
		function reset():void;
		
		/**
		 * Selects a sub view within the main view
		 * 
		 * @param subViewName Name of sub view to show
		 * @param reset If true then indicates new sub view should be resetted
		 */
		function selectSubView(subViewName:String, reset:Boolean):void;
		
		/**
		 * Gets the view name
		 * 
		 * @return String name of view
		 */
		function getViewName():String;
	}
}